package cn.xo68.boot.auth.server;

import cn.xo68.boot.auth.core.properties.OAuthResourceProperties;
import cn.xo68.boot.auth.server.properties.AuthServerProperties;
import com.github.pagehelper.autoconfigure.PageHelperProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 认证服务端 自动配置
 */
@Configuration
@EnableConfigurationProperties({OAuthResourceProperties.class, PageHelperProperties.class})
@ComponentScan({"cn.xo68.boot.auth.server.properties",
        "cn.xo68.boot.auth.server.service",
        "cn.xo68.boot.auth.server.token",
        "cn.xo68.boot.auth.server.web",
        "cn.xo68.boot.auth.server.configuration",
        "cn.xo68.boot.auth.server.mapper",
        "cn.xo68.boot.auth.server.util"})
@ConditionalOnProperty(prefix = "wuxie.auth.server",value = "enabled",havingValue = "true", matchIfMissing=true)
public class AuthServerAutoConfiguration {



}
